﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZCalculator.Core
{
    public sealed class Number : ExpressionNode
    {
        private double _value;

        public Number(double val)
        {
            _value = val;
        }

        public override double Evaluate()
        {
            return _value;
        }
    }
}
